﻿using UnityEngine;
using System.Collections;

public class MsgBase
{
    public ushort msgId;
    public MsgBase(ushort tmpID)
    {
        msgId = tmpID;
    }

    public ManagerID GetManager()
    {
        int tmpId = msgId / FrameTools.MsgSpan;
        return (ManagerID)(tmpId * FrameTools.MsgSpan);
    }
}
